//定义公共方法
@mixin flexible($num) {
    -webkit-box-flex: $num;
    -webkit-flex: $num;
    -ms-flex: $num;
    flex: $num;
}

// @mixin w($num) {
//     width: $num + '%';
// }

@mixin muliText($num) {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: $num;
    -webkit-box-orient: vertical;
}

.borderNone {
    border: none;
}



.flex {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    justify-content: center;
}

.flex-start {
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
    -ms-flex-align: flex-start;
    justify-content: flex-start;
}

.flex-end {
    -webkit-box-align: end;
    -webkit-align-items: flex-end;
    -ms-flex-align: flex-end;
    justify-content: flex-end;
}

.flex-wrap {
    flex-wrap: wrap;
}

.space-between {
    justify-content: space-between!important;
}

.space-around {
    justify-content: space-around;
}

.flex-colum {
    flex-direction: column;
}

// 背景图上下渐变
.linear-gradient {
    background: linear-gradient(rgba(255, 255, 255, 0.06) 30%, #f8f8f8);
}


.color-red {
    color: red;
}



.color-green {
    color: green;
}



.bg-red {
    background: red;
    color: #fff !important;
}

.visible {
    visibility: visible !important;
}

.title-h1 {
    padding: 20upx 30upx 20upx 30upx;
    font-weight: bold;
    box-sizing: border-box;
}

.marginNone {
    margin: 0 !important;
}

.pl-3 {
    padding-left: 30upx !important;
}

.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}

.flex-colum {
    flex-direction: column;
}

.w50 {
    width: 50%;
}

.w48 {
    width: 48%;
}

.w100 {
    width: 100% !important;
}